package com.example.project.service;

import com.example.project.dto.form.UserLoginForm;
import com.example.project.dto.form.UserCreateForm;
import com.example.project.dto.vo.UserLoginVO;
import com.example.project.result.Result;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

public interface UserService {
    /** 修改用户密码 */
    void updateUserPassword(com.example.project.entity.User user);
    /** 根据用户ID获取User实体 */
    com.example.project.entity.User getUserEntityById(Long id);
    /** 获取当前登录用户信息 */
    UserLoginVO getCurrentUserInfo();
    UserLoginVO login(UserLoginForm form);

    void register(UserCreateForm form);

    void updateUserInfo(com.example.project.dto.form.UserInfoForm form);

}
